package org.zhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.zhxy.model.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author walter
 * @description 针对表【tb_teacher】的数据库操作Service
 * @createDate 2025-07-01 14:17:11
 */
public interface TeacherService extends IService<Teacher> {
    Teacher findByName(String name);

    IPage<Teacher> page(IPage page, Teacher teacher);

    boolean updatePwd(Integer id, String newPwd);
}
